{% extends "zerver/emails/email_base_default.html" %}

{% block illustration %}
<img src="{{ email_images_base_url }}/email_logo.png" alt=""/>
{% endblock %}

{% block content %}
{% if realm_creation %}
{% if is_demo_organization %}
<p>
    {% trans demo_organizations_help_link="https://zulip.com/help/demo-organizations" %}Congratulations, you have created a new Zulip demo organization. Note
    that this organization will be automatically deleted in 30 days. Learn more
    about demo organizations <a
    href="{{ demo_organizations_help_link }}">here</a>!
    {% endtrans %}
</p>
{% else %}
<p>
    {% trans %}Congratulations, you have created a new Zulip
    organization: <b>{{ realm_name }}</b>.{% endtrans %}
</p>
{% endif %}
{% else %}
<p>{{ _('Welcome to Zulip!') }}</p>
<p>
    {% trans %}You've joined the Zulip organization <b>{{ realm_name }}</b>.
    {% endtrans %}
</p>
{% endif %}

<p>
    {% trans apps_page_link="https://zulip.com/apps/" %}You will use the following info to log into the Zulip web, <a href="{{ apps_page_link }}">mobile and desktop</a> apps:{% endtrans %}
    <ul>
        <li>{% trans organization_url=macros.link_tag(realm_url) %}Organization URL: {{ organization_url }}{% endtrans %}<br /></li>
        {% if ldap %}
            {% if ldap_username %}
            <li>{% trans %}Your username: {{ ldap_username }}{% endtrans %}<br /></li>
            {% else %}
            <li>{{ _('Use your LDAP account to log in') }}<br /></li>
            {% endif %}
        {% else %}
            <li>{% trans email=macros.email_tag(email) %}Your account email: {{ email }}{% endtrans %}<br /></li>
        {% endif %}
    </ul>
    <a class="button" href="{{ realm_url }}">{{ _('Go to organization') }}</a>
</p>

<p>
    {% trans %}If you are new to Zulip, check out our <a href="{{ getting_user_started_link }}">Getting started guide</a>!{% endtrans %}
    {% if is_realm_admin %}
    {% trans %}We also have a guide for <a href="{{ getting_organization_started_link }}">Setting up your organization</a>.{% endtrans %}
    {% endif %}
</p>

<p>
    {% if corporate_enabled %}
        {% trans %}Questions? <a href="mailto:{{ support_email }}">Contact us</a> — we'd love to help!{% endtrans %}
    {% else %}
        {{macros.contact_us_self_hosted(support_email)}}
    {% endif %}
</p>
{% endblock %}
